package com.oracle.dao.impl;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

import com.oracle.dao.StudentDao;
import com.oracle.model.Student;
@Component(value="studentDao")
@Lazy(value=true)
public class StudentDaoImpl implements StudentDao{
	public StudentDaoImpl(){
		System.out.println("init studentdaoimpl");
	}
	@Override
	public void save(Student student) {
		System.out.println(student+" mysql saved");
	}
	
}
